/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Date;

/**
 * <p>Project: javase2203 - Arr1
 * <p>Powered by webrx On 2022-07-12 14:33:37
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Arr0 {
    public static void main(String[] args) {
        int[] ages = new int[100];
        System.out.println(ages[3]);
        //异常System.out.println(ages[100]);

        double[] ds = new double[3];
        System.out.println(ds[0]);

        float[] ff = new float[3];
        System.out.println(ff[0]);

        char[] cs = new char[3];
        System.out.println(cs[0]);

        var oo = new byte[3];
        System.out.println(oo[0]);

        //整数 默认为0  小数 0.0 对象的 null boolean false


        Date[] de = new Date[5];
        System.out.println(de[0]);
    }
}
